package tsing;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * @Date 2024/8/2 11:51
 * @Author Tsing
 */
@EnableAsync // 开启异步的注解
@EnableScheduling // 开启spring调度器
@SpringBootApplication
public class JavaSeApplication {

    public static void main(String[] args) {

        try {
            SpringApplication.run(JavaSeApplication.class, args);
        } catch (Exception e) {
            e.printStackTrace();
        }
    }
}
